package com.cloud.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cloud.core.BaseService;
import com.cloud.dao.LableBean;
import com.cloud.dao.MyPatientBean;
import com.cloud.dao.impl.LableDao;

/**
 * 1Cloud1
 * @author Administrator
 * @since 2015-12-9
 * @version 1.0 
 */
@Service("LableService")
public class LableService extends BaseService{
	
	@Autowired
	private LableDao LableDao;
	
	public List<LableBean> getLableList(LableBean bean){
		return LableDao.getLableList(bean);
	}
	
	public List<LableBean> getMyPatientLableList(MyPatientBean bean){
		return LableDao.getMyPatientLableList(bean);
	}
	
	public String addLable(LableBean bean){
		return LableDao.addLable(bean);
	}
	
	public void addLablePatient(MyPatientBean bean){
		LableDao.addLablePatient(bean);
	}
	
	public void updateLable(LableBean bean){
		LableDao.updateLable(bean);
	}
	
	public void deleteLable(LableBean bean){
		LableDao.deleteLable(bean);
	}
	
	public void deletePatientLable(MyPatientBean bean){
		LableDao.deletePatientLable(bean);
	}
}
